import http from './../../../base/api/public'
let sysConfig = require('@/../config/sysConfig')
let apiUrl = sysConfig.sfsApiUrlPre;
import querystring from 'querystring'


//取消课程收藏
export const delete_collect=(userId,courseId)=>{
  return http.requestPost(apiUrl+'/learning/course/deletecollect/'+userId+'/'+courseId);
};

//获取用户收藏的课程
export const get_collect=(userId)=>{
  return http.requestGet(apiUrl+'/learning/course/getcollect/'+userId);
};
